package com.awccis.customer.model.order;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @Author: 纯牛奶丶
 * @Date: 2018-04-08 17:09
 * @Since: 1.0
 * @Description:
 **/
@Component("orderInfo")
@Qualifier("orderInfo")
public class OrderInfo {
    private int orderId;
    private int driverNickName;
    private double distance;
    private String customerPhone;
    private String customerName;
    private String routerUrl;
    
    public OrderInfo() {
    }
    
    public int getOrderId() {
        return orderId;
    }
    
    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }
    
    public int getDriverNickName() {
        return driverNickName;
    }
    
    public void setDriverNickName(int driverNickName) {
        this.driverNickName = driverNickName;
    }
    
    public double getDistance() {
        return distance;
    }
    
    public void setDistance(double distance) {
        this.distance = distance;
    }
    
    public String getCustomerPhone() {
        return customerPhone;
    }
    
    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }
    
    public String getCustomerName() {
        return customerName;
    }
    
    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getRouterUrl() {
        return routerUrl;
    }

    public void setRouterUrl(String routerUrl) {
        this.routerUrl = routerUrl;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "orderId=" + orderId +
                ", driverNickName=" + driverNickName +
                ", distance=" + distance +
                ", customerPhone='" + customerPhone + '\'' +
                ", customerName='" + customerName + '\'' +
                ", routerUrl='" + routerUrl + '\'' +
                '}';
    }
}
